package com.thf.service;

import com.thf.model.PageModel;
import com.thf.model.ResultData;

import java.util.Map;

public interface UserService {

    ResultData userFindAll(PageModel pageModel);

    ResultData userFind(Integer startPage, Integer pageSize, Map map);

    Integer getCount(Map map);

    ResultData add(Map map);

    ResultData delete(Integer stringToInt);

    ResultData getUserById(Integer stringToInt);

    ResultData update(Map map);

    ResultData updateEnadle(String id);
}
